/**
 * 财务事件列表js
 */

app.controller('btnCtrl', ['$scope', '$http', BtnController]);
function BtnController($scope, $http){
	//列表
	$scope.bindBtn = function(event) {
		switch(event){
			case 'event-to-export':
			{
				$scope.showModalLink('/web/business/tpYsbExportLog/toExport?menuId=82', '导出表格');
				break;
			}
			case 'LAYTABLE_EXPORT_DATA':
			{
				$scope.doExport('/api/inter/tcwFinancesApiInFo/export');
				break;
			}
		};
	}
}

